import {UserType} from "../models/user";

let currentUser;

const getCurrentUserState =  ():UserType => {
    return currentUser;
}

const setCurrentUserState =  (user:UserType) => {
    currentUser = user
}

export {
    getCurrentUserState,
    setCurrentUserState
}